package com.yujn.bean;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Component
@ConfigurationProperties("order")
@Data
public class Order {
    private String number;
    private String productName;
    private BigDecimal price;
    private String payDate;
}
